﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImageEditor.aspx.cs" Inherits="Content.Web.ImageEditor" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body style="width:100%;height:100%" onload="return window_onload()">
    <form id="form1" runat="server">
    </form>
    <object style="width:796px;height:606px" id="ImageEditor" name="ImageEditor" classid="clsid:C9C248DD-ED17-4B0E-B578-34D8CD3A8CC8" codebase="ImageEditor.cab">
        <param name="Key" value="<%= this.Key %>" />
        <param name="FileName" value="<%= this.FileName %>" />
    </object>	    
    <script language="javascript" type="text/javascript">
// <![CDATA[

        function OnClose()
        {
            window.close();
        }

        function window_onload() 
        {
            ImageEditor.attachEvent("OnClose", OnClose);
        }

// ]]>
    </script>

</body>
</html>
